#!/bin/bash
sqoop import --connect jdbc:mysql://localhost:3306/licai \
--username root --password 123456 \
--table rdbms_cust_info \
--target-dir hdfs://localhost:9000/sqoopdata/rdbms_cust_info \
--delete-target-dir \
-m 1 \
--validate;

#!/bin/bash
sqoop import --connect jdbc:mysql://localhost:3306/licai \
--username root --password 123456 \
--table rdbms_code_info \
--target-dir hdfs://localhost:9000/sqoopdata/rdbms_code_info \
--delete-target-dir \
-m 1 \
--validate;

#!/bin/bash
sqoop import --connect jdbc:mysql://localhost:3306/licai \
--username root --password 123456 \
--table rdbms_org_info \
--target-dir hdfs://localhost:9000/sqoopdata/rdbms_org_info \
--delete-target-dir \
-m 1 \
--validate;

#!/bin/bash
sqoop import --connect jdbc:mysql://localhost:3306/licai \
--username root --password 123456 \
--table rdbms_addr_info \
--target-dir hdfs://localhost:9000/sqoopdata/rdbms_addr_info \
--delete-target-dir \
-m 1 \
--validate;